package com.linkage.usercenter.dao;

import com.linkage.usercenter.pojo.entity.CoreOperate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CoreOperateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CoreOperate record);

    int insertSelective(CoreOperate record);

    CoreOperate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CoreOperate record);

    int updateByPrimaryKey(CoreOperate record);

    List<CoreOperate> queryRecordsByStatus(String param);

    List<CoreOperate> queryRecorRoleCode(String roleCode);
}